﻿using YAPACS.RisServer.Services.Dtos;
using YAPACS.Workflows;

namespace YAPACS.RisServer.Abstractions;

public interface IExamApplyService
{
    /// <summary>
    /// 获取检查申请
    /// </summary>
    /// <param name="interfaceServiceId"></param>
    /// <param name="number"></param>
    /// <param name="request"></param>
    /// <returns></returns>
    Task<WorkflowOutput> GetExamApplyItemsAsync(Guid interfaceServiceId,string number, DataGridRequest request);
    /// <summary>
    /// 合并
    /// </summary>
    /// <param name="examApplyItemIds"></param>
    /// <returns></returns>
    Task<WorkflowOutput> AddExamAsync(Guid interfaceServiceId, IList<string> examItemNumbers);
    /// <summary>
    /// 获取高级查询视图
    /// </summary>
    /// <returns></returns>
    Task<WorkflowOutput> GetAdvancedSearchViewAsync();
    Task<WorkflowOutput> SupplementaryAsync(Guid interfaceServiceId, Guid examId, IList<string> examItemNumbers);
    Task<WorkflowOutput> GetSupplementaryVerifyViewAsync(WorkflowInput input, string nextApi = null);
}
